package soar.basic;

public class SOAR_ERR
{//{{{
    public static final String OK="0000";

    public static final String COMM_FAIL=       "9000"; // 与服务节点通信错误
    public static final String CALL_TIMEOUT=    "9001"; // 调用超时
    public static final String RESOURCE=        "9002"; // 内部资源错误
    public static final String SVC_NOT_FOUND=   "9003"; // 调用不存在服务
    public static final String DB=              "9004"; // 数据库错误
    public static final String MSG=             "9005"; // 消息格式错误
    public static final String PARA=            "9006"; // 参数错误
    public static final String NODE_NOT_FOUND=  "9007"; // 调用不存在节点
    public static final String SVC_INVALID=     "9008"; // 无效服务
    public static final String SVC_DUPLICATE=   "9009"; // 服务重复
    public static final String CMD_INVALID=     "9010"; // 操作码不存在
    public static final String SVR_NOT_FOUND=   "9011"; // 服务容器不存在
    public static final String FILE_ACCESS=     "9012"; // 操作文件失败

    public static final String SESSION_EXIST=       "8200"; // 会话已存在
    public static final String SESSION_NOT_FOUND=   "8201"; // 会话未找到
    public static final String SESSION_CREATE_FAIL= "8202"; // 会话创建失败
    public static final String SESSION_SID_INVALID= "8203"; // 会话标号无效
    public static final String SESSION_KEY_NOT_FOUND="8204";// 键未找到
    public static final String SESSION_PUTKEY_FAIL= "8205"; // 设置键出错
    public static final String SESSION_VAL_NOT_INT= "8206"; // 值非整型
    public static final String SESSION_MODKEY_FAIL= "8207"; // 修改键出错
    public static final String SESSION_SID_DISCORD= "8208"; // 会话内容不一致
    public static final String SESSION_KEY_FULL=    "8209"; // 键已满
    public static final String SESSION_ENCRYPT=     "8210"; // 加密出错
    public static final String SESSION_DECRYPT=     "8211"; // 解密出错

    public static final String SECURE_NOKEY=        "8300"; // 密钥不存在
    public static final String SECURE_ENCRYPT=      "8301"; // 加密出错
    public static final String SECURE_DECRYPT=      "8302"; // 解密出错
    public static final String SECURE_SIGN=         "8303"; // 签名出错
    public static final String SECURE_VERIFY=       "8304"; // 校验出错
    public static final String SECURE_PASSWD_DISCORD="8305";// 口令不一致
    public static final String SECURE_ENCODE=       "8306"; // 编码出错
    public static final String SECURE_DECODE=       "8307"; // 解码出错

    public static final String MAILFWD_BLACK=       "8400"; // 黑名单

    public static final String CONFIRM_SEQ_INVALID= "8500"; // 序列号无效
    public static final String CONFIRM_SEQ_NOT_FOUND="8501"; // 序列号未找到
    public static final String CONFIRM_ID_NOT_MATCH="8502"; // ID未匹配
    public static final String CONFIRM_CD_NOT_MATCH="8503"; // 验证码未匹配
}//}}}
